<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en" class="app">
<head>  
  <meta charset="utf-8" />
  <title>订单管理－订单列表</title>
  <meta name="description" content="app, web app, responsive, admin dashboard, admin, flat, flat ui, ui kit, off screen nav" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> 
  
	<jsp:include page="../lbi/common.jsp"></jsp:include>
	
<body class="">
  <section class="vbox">
    
		<jsp:include page="../lbi/head.jsp" ></jsp:include>
		
    <section>
      <section class="hbox stretch">
        <!-- .aside -->
            <jsp:include page="../lbi/left.jsp" ></jsp:include>
        <!-- /.aside -->
        <section id="content">
                  <section class="hbox stretch">
                          <section id="content">
                         <section class="hbox stretch">
            <!--从这里开始复制粘贴-->
            <form class="vbox cmxform"  id="commentForm" method="get" action="">
                <header class="header bg-white b-b clearfix">
                    <div class="row m-t-sm">
                        <div class="inform">
                            <p>订单详情</p>
                        </div>
                    </div>
                </header>
                <section class="scrollable wrapper w-f">
                    <section class="panel panel-default">
                        <div class="dingdan">
                                <h5>订单状态</h5>
                                <p>
                                    <span class="font4">订单号：${orderEntityVo.orderId }</span>
                                    <c:if test="${orderEntityVo.orderState == 1 }">
                                        <span class="font5">订单状态：秘书未接单</span>
                                    </c:if>
                                    
                                    <c:if test="${orderEntityVo.orderState == 2 }">
                                        <span class="font5">订单状态：未开始</span>
                                    </c:if>
                                    
                                    <c:if test="${orderEntityVo.orderState == 3 }">
                                        <span class="font5">订单状态：进行中</span>
                                    </c:if>
                                    
                                    <c:if test="${orderEntityVo.orderState == 4 }">
                                        <span class="font5">订单状态：已完成</span>
                                    </c:if>
                                </p>
                                <p>
                                    <span class="font4">订单总价：<span class="font6">¥${orderEntityVo.money }</span>
                                    </span>
                                </p>
                        </div>
                        <div class="clearfix"></div>
                        <div class="dingdan">
                                <h5>订单信息</h5>
                                <p>
                                    <c:if test="${orderEntityVo.orderState == 1 }">
                                        <span class="font4">支付方式：支付宝</span>
                                    </c:if>
                                    
                                    <c:if test="${orderEntityVo.orderState == 2 }">
                                        <span class="font4">支付方式：微信</span>
                                    </c:if>
                                    
                                    <c:if test="${orderEntityVo.orderState == 2 }">
                                        <span class="font4">支付方式：银联</span>
                                    </c:if>
                                    
                                    <span class="font5">雇佣天数：${orderEntityVo.orderDays }天</span>
                                </p>
                                
                                <p>
                                    <span class="font4">地点：${orderEntityVo.shopProvince }${orderEntityVo.shopCity }${orderEntityVo.shopDistrict }${orderEntityVo.shopAddress }</span>
                                    <span class="font5">起止时间：${orderEntityVo.startDate }至&nbsp;${orderEntityVo.endDate }</span>
                                </p>
                                <p>
                                    <span class="font5">取消时间：${orderEntityVo.cancelTime }</span>
                                    <span class="font5">发票抬头：${orderEntityVo.obName }</span>
                                </p>
                                
                                <p>
                                    <c:if test="${orderEntityVo.obType == 1 }">
                                        <span class="font4">发票类型：公司</span>
                                    </c:if>
                                    
                                    <c:if test="${orderEntityVo.obType == 2 }">
                                        <span class="font4">发票类型：个人</span>
                                    </c:if>
                                    
                                </p>
                        </div>
                        <div class="clearfix"></div>
                        <div class="dingdan">
                                <h5>boss信息</h5>
                                <p><span class="font4">用户名：${orderEntityVo.userName }</span></p>
                                <p><span class="font4">联系电话：${orderEntityVo.mobile }</span></p>
                        </div>
                        <div class="clearfix"></div>
                        <div class="dingdan">
                                <h5>秘书信息</h5>
                                <p><span class="font4">用户名：${orderEntityVo.mUserName}</span></p>
                                <p><span class="font4">联系电话：${orderEntityVo.mMobile }</span></p>
                                <p><span class="font4">日薪：¥${orderEntityVo.moneyDay }</span></p>
                        </div>
                        <!-- <div class="dingdan">
                                <h5>保险信息</h5>
                                <p>保险单号：<input type="text" onkeyup="(this.v=function(){this.value=this.value.replace(/[^0-9-]+/,'');}).call(this)" onblur="this.v();" required="required"></p>
                                <p><button type="submit" class="submit">提交保险信息</button></p>
                        </div> -->
                    </section>
                </section>
                <footer class="footer bg-white b-t">
                    <div class="row text-center-xs">
                        <div class="col-md-6 hidden-sm">
                            <!-- <a href="dingdan_list.html" class="buttom">上一步</a> -->
                            <button onclick ="javascript:history.go(-1);">上一步</button>
                        </div>
                       
                    </div>
                </footer>
            </form>
            <!--以上为内容-->
            <a href="#" class="hide nav-off-screen-block" data-toggle="class:nav-off-screen" data-target="#nav"></a>
        </section>
                      </section>
    
                  </section>
             </section>
    </section>
  </section>
  </section>
   
<script>
    $().ready(function() {
        $("#commentForm").validate();
    });
</script>
  
  <script type="text/javascript">
    $("#order").addClass("active");
    $("#nav_4").css('display','block');
    
    $("#order_list").addClass("active2");
    
  </script>
</body>
</html>